package com.study;

public class Vehicle {
    String brand;
    String type;

    Vehicle(){}

    Vehicle(String brand, String type){
        this.brand = brand;
        this.type = type;
    }

    public void start() {
        System.out.println(this.brand + this.type + "开始启动");
    }

    public void run() {
        System.out.println(this.brand + this.type + "在高速公路上行驶");
    }
}
